<template>
    <div></div>
</template>

<script>
export default { 
  data () {
    return {

    }
  },
  mounted(){
    this.matchList();
    this.matchDetail();
    // this.clubList();
    //this.clubMember();
  },
  methods:{
    matchList(){        //比赛列表
      this.axios.post(this._site + 'match/list',{ 
        pageNo: 2,
        pageSize:1,
        matchName:"",
        matchKind:"",
        status: ""
      }).then(response => {
        
      }).catch(error => {

      });
    },
    matchDetail(){    //根据ID查找比赛信息
      this.axios.post(this._site + 'match/queryById/1')
      .then(response => {
        
      }).catch(error => {

      });
    },
    clubList(){       //俱乐部列表
      this.axios.post(this._site + 'match/queryRecord')
      .then(response => {
        
      }).catch(error => {

      });
    },
    clubSave(){     //创建俱乐部
      this.axios.post(this._site + 'match/save',{
        "bean":{
          "memberId":"8888",
          "clubName":"非凡",
          "creator":"99999",
          "address":"999",
          "remark":"2222",
          "homeCourt":"谷山体育馆"
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    enterSave(){     //报名信息保存，带上步骤序列号
      this.axios.post(this._site + 'enter/save',{
        "bean":{
            "matchId":"",
            "matchItem":"",
            "memberId":"",
            "memberName":"",
            "partenId":"",
            "partenName":"",
            "enterStep":"",
            "enterStatus":"",
            "clubId":"",
            "clubName":"",
            "creator":""
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    memberSave(){     //创建会员
      this.axios.post(this._site + 'member/save',{
        "bean":{
            "memberId":"8888",
            "clubName":"非凡",
            "creator":"99999",
            "address":"999",
            "remark":"2222",
            "homeCourt":"谷山体育馆"
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    memberDetails(){    //会员详情
      this.axios.post(this._site + 'member/queryRecord',{
        "bean":{
          "real_name":"",
          "mobile":"",
          "idcards":"",
          "openid":""
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    partnerList(){    //查找搭档接口
      this.axios.post(this._site + 'enterRecord/queryRecord',{
        "bean":{
          "memberid":"", 
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    memberDetails(){    //我的报名信息汇总
      this.axios.post(this._site + 'enterRecord/queryRecord',{
        "bean":{
          "memberid":"", 
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    clubMember(){     //所有俱乐部成员接口
      this.axios.post(this._site + 'club/selectByClubId',{
        "bean":{
          "clubId":"", 
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    },
    checkIdCrads(){     //校验身份证
      this.axios.post(this._site + 'member/checkIdCrads',{
        "bean":{
          "idcards":"", 
        }
      })
      .then(response => {
        
      }).catch(error => {

      });
    }
  }
}
</script>
